package com.stars.common.annotation;

import com.stars.common.enums.SaveTypeEnum;

import java.lang.annotation.*;

/**
 * @ClassName DictClass
 * @Description:
 * @Author DJ
 * @Date 2019/10/24
 * @Version V1.0
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FieldRepeatVailClass {
    //保存方式
    SaveTypeEnum saveType() default SaveTypeEnum.SAVE_ADD;
    //批量
    boolean saveBatch() default false;
}
